home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_1.3 / Include-Strip1.3 / include.h / devices / prtgfx.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-07-15  |  1.1 KB  |  58 lines

  1. #ifndef    DEVICES_PRTGFX_H
  2. #define    DEVICES_PRTGFX_H
  3. #define    PCMYELLOW    0
  4. #define    PCMMAGENTA    1
  5. #define    PCMCYAN    2
  6. #define    PCMBLACK    3
  7. #define    PCMBLUE    PCMYELLOW
  8. #define    PCMGREEN    PCMMAGENTA
  9. #define    PCMRED    PCMCYAN
  10. #define    PCMWHITE    PCMBLACK
  11. union    colorEntry    {
  12. ULONG    colorLong;
  13. UBYTE    colorByte[4];
  14. BYTE    colorSByte[4];
  15. };
  16. struct    PrtInfo    {
  17. int    (*pi_render)();
  18. struct    RastPort    *pi_rp;
  19. struct    RastPort    *pi_temprp;
  20. UWORD    *pi_RowBuf;
  21. UWORD    *pi_HamBuf;
  22. union    colorEntry    *pi_ColorMap;
  23. union    colorEntry    *pi_ColorInt;
  24. union    colorEntry    *pi_HamInt;
  25. union    colorEntry    *pi_Dest1Int;
  26. union    colorEntry    *pi_Dest2Int;
  27. UWORD    *pi_ScaleX;
  28. UWORD    *pi_ScaleXAlt;
  29. UBYTE    *pi_dmatrix;
  30. UWORD    *pi_TopBuf;
  31. UWORD    *pi_BotBuf;
  32. UWORD    pi_RowBufSize;
  33. UWORD    pi_HamBufSize;
  34. UWORD    pi_ColorMapSize;
  35. UWORD    pi_ColorIntSize;
  36. UWORD    pi_HamIntSize;
  37. UWORD    pi_Dest1IntSize;
  38. UWORD    pi_Dest2IntSize;
  39. UWORD    pi_ScaleXSize;
  40. UWORD    pi_ScaleXAltSize;
  41. UWORD    pi_PrefsFlags;
  42. ULONG    pi_special;
  43. UWORD    pi_xstart;
  44. UWORD    pi_ystart;
  45. UWORD    pi_width;
  46. UWORD    pi_height;
  47. ULONG    pi_pc;
  48. ULONG    pi_pr;
  49. UWORD    pi_ymult;
  50. UWORD    pi_ymod;
  51. WORD    pi_ety;
  52. UWORD    pi_xpos;
  53. UWORD    pi_threshold;
  54. UWORD    pi_tempwidth;
  55. UWORD    pi_flags;
  56. };
  57. #endif
  58.